<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.4"/>
<title>gbmath: gbmath::vec2 Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.jpg"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">gbmath
   &#160;<span id="projectnumber">v0.051</span>
   </div>
   <div id="projectbrief">c++ math library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.4 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacegbmath.html">gbmath</a></li><li class="navelem"><a class="el" href="structgbmath_1_1vec2.html">vec2</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="structgbmath_1_1vec2-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">gbmath::vec2 Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>2d-base vector. Corrected by operators epislon  
 <a href="structgbmath_1_1vec2.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="vec2_8h_source.html">vec2.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:adabd5470168992d77238a8ecb1d81951"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#adabd5470168992d77238a8ecb1d81951">vec2</a> ()</td></tr>
<tr class="separator:adabd5470168992d77238a8ecb1d81951"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c6f58c11087712e1ba0f2e4fa4c926f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#a8c6f58c11087712e1ba0f2e4fa4c926f">vec2</a> (const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;v)</td></tr>
<tr class="separator:a8c6f58c11087712e1ba0f2e4fa4c926f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2abaf8805e510be8389b8803e575e25"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#ae2abaf8805e510be8389b8803e575e25">vec2</a> (const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> *v)</td></tr>
<tr class="separator:ae2abaf8805e510be8389b8803e575e25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:addb0dc9dc9e0b1e45c025e53cbc3e8bc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#addb0dc9dc9e0b1e45c025e53cbc3e8bc">vec2</a> (float _x, float _y)</td></tr>
<tr class="separator:addb0dc9dc9e0b1e45c025e53cbc3e8bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac29ddd0fd6ce042166bb581b974e1be3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#ac29ddd0fd6ce042166bb581b974e1be3">vec2</a> (const float *pfArray)</td></tr>
<tr class="separator:ac29ddd0fd6ce042166bb581b974e1be3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac96c57d47781f11164e7bdeb64d64b52"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#ac96c57d47781f11164e7bdeb64d64b52">operator=</a> (const float *pf)</td></tr>
<tr class="separator:ac96c57d47781f11164e7bdeb64d64b52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad2389cf23b12dac04afd2438756dbb6a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#ad2389cf23b12dac04afd2438756dbb6a">operator==</a> (const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;v) const </td></tr>
<tr class="separator:ad2389cf23b12dac04afd2438756dbb6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58b6069a98fa83c965721cb7a9d0f5dd"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#a58b6069a98fa83c965721cb7a9d0f5dd">operator!=</a> (const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;v) const </td></tr>
<tr class="separator:a58b6069a98fa83c965721cb7a9d0f5dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acfaf6cf7a1f59a14514c61cab5fafee2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1vec2.html">vec2</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#acfaf6cf7a1f59a14514c61cab5fafee2">operator+</a> () const </td></tr>
<tr class="separator:acfaf6cf7a1f59a14514c61cab5fafee2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7185e3b82be49090b3e96a71e19eeea1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1vec2.html">vec2</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#a7185e3b82be49090b3e96a71e19eeea1">operator-</a> () const </td></tr>
<tr class="separator:a7185e3b82be49090b3e96a71e19eeea1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a340bf522c80aa82e3c64b2e3ae218477"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1vec2.html">vec2</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#a340bf522c80aa82e3c64b2e3ae218477">operator+</a> (const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;v) const </td></tr>
<tr class="separator:a340bf522c80aa82e3c64b2e3ae218477"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40ef679d9345eca4befadd359df17a20"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1vec2.html">vec2</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#a40ef679d9345eca4befadd359df17a20">operator-</a> (const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;v) const </td></tr>
<tr class="separator:a40ef679d9345eca4befadd359df17a20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91dc952e918c5cbc7d2d59078add36e6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1vec2.html">vec2</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#a91dc952e918c5cbc7d2d59078add36e6">operator+</a> (const float v) const </td></tr>
<tr class="separator:a91dc952e918c5cbc7d2d59078add36e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8cedf5cce69b94a455d0244da7f9af3b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1vec2.html">vec2</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#a8cedf5cce69b94a455d0244da7f9af3b">operator-</a> (const float v) const </td></tr>
<tr class="separator:a8cedf5cce69b94a455d0244da7f9af3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a709483b8ae4c66df60ed3b485b3c6667"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1vec2.html">vec2</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#a709483b8ae4c66df60ed3b485b3c6667">operator*</a> (float f) const </td></tr>
<tr class="separator:a709483b8ae4c66df60ed3b485b3c6667"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeca1f43dc5f2d45c1c655698cae54c68"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1vec2.html">vec2</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#aeca1f43dc5f2d45c1c655698cae54c68">operator/</a> (float f) const </td></tr>
<tr class="separator:aeca1f43dc5f2d45c1c655698cae54c68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51f5e22a580310bd699d8d955c40973f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#a51f5e22a580310bd699d8d955c40973f">operator+=</a> (const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;v)</td></tr>
<tr class="separator:a51f5e22a580310bd699d8d955c40973f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae58ef74f304638175fd5c2d29980a9f3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#ae58ef74f304638175fd5c2d29980a9f3">operator-=</a> (const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;v)</td></tr>
<tr class="separator:ae58ef74f304638175fd5c2d29980a9f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a630356805b8d3b66e77db67efa1df8ca"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#a630356805b8d3b66e77db67efa1df8ca">operator*=</a> (float f)</td></tr>
<tr class="separator:a630356805b8d3b66e77db67efa1df8ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a557a61bd3661c74e4ef71cc451140c59"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#a557a61bd3661c74e4ef71cc451140c59">operator*=</a> (const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;v)</td></tr>
<tr class="separator:a557a61bd3661c74e4ef71cc451140c59"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a573c17c28c4b384ca34c0a0383558a97"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#a573c17c28c4b384ca34c0a0383558a97">operator/=</a> (float f)</td></tr>
<tr class="separator:a573c17c28c4b384ca34c0a0383558a97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33ae524aaf4b392c37a3943bbb45446f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#a33ae524aaf4b392c37a3943bbb45446f">operator/=</a> (const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;v)</td></tr>
<tr class="separator:a33ae524aaf4b392c37a3943bbb45446f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20a975f47e245edc54784e9f7b080be1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#a20a975f47e245edc54784e9f7b080be1">operator const float *</a> () const </td></tr>
<tr class="separator:a20a975f47e245edc54784e9f7b080be1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d0aeb42c807a4da8a2b50b010a06cd6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#a1d0aeb42c807a4da8a2b50b010a06cd6">operator float *</a> ()</td></tr>
<tr class="separator:a1d0aeb42c807a4da8a2b50b010a06cd6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d64d8c55a269aa0310a6e23bdfa069e"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#a7d64d8c55a269aa0310a6e23bdfa069e">operator[]</a> (size_t index) const   throw (std::out_of_range)</td></tr>
<tr class="separator:a7d64d8c55a269aa0310a6e23bdfa069e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae51af699a241061040d69aeab382d0f8"><td class="memItemLeft" align="right" valign="top">float &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#ae51af699a241061040d69aeab382d0f8">operator[]</a> (size_t index)  throw (std::out_of_range)</td></tr>
<tr class="separator:ae51af699a241061040d69aeab382d0f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2f52a54c06868db0522b03930500ca7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#af2f52a54c06868db0522b03930500ca7">setzero</a> ()</td></tr>
<tr class="separator:af2f52a54c06868db0522b03930500ca7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e1b47be8f61375d104ba44c32947674"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#a1e1b47be8f61375d104ba44c32947674">empty</a> () const </td></tr>
<tr class="separator:a1e1b47be8f61375d104ba44c32947674"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ba4ac2afd0f478dc38014a01fdbe12f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#a9ba4ac2afd0f478dc38014a01fdbe12f">set</a> (float _x, float _y)</td></tr>
<tr class="separator:a9ba4ac2afd0f478dc38014a01fdbe12f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2eed490b17e95295f031b5fe47e30686"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#a2eed490b17e95295f031b5fe47e30686">set_all</a> (float val)</td></tr>
<tr class="separator:a2eed490b17e95295f031b5fe47e30686"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4bcac67c752d2d4195bbd6cc7d7e7dcb"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#a4bcac67c752d2d4195bbd6cc7d7e7dcb">is_zero</a> (float epsilon) const </td></tr>
<tr class="separator:a4bcac67c752d2d4195bbd6cc7d7e7dcb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad10ab8c50698625b709e3ff00bf4d6c2"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#ad10ab8c50698625b709e3ff00bf4d6c2">length</a> () const </td></tr>
<tr class="separator:ad10ab8c50698625b709e3ff00bf4d6c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11a037524ff89246286cb11e3b19cc9a"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#a11a037524ff89246286cb11e3b19cc9a">length_sq</a> () const </td></tr>
<tr class="separator:a11a037524ff89246286cb11e3b19cc9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0f42556480a7a32389428b4076ea95f"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#ab0f42556480a7a32389428b4076ea95f">distance</a> (const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;<a class="el" href="structgbmath_1_1point.html">point</a>) const </td></tr>
<tr class="separator:ab0f42556480a7a32389428b4076ea95f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0acbb496da83beaf4e3afcf6858977a8"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#a0acbb496da83beaf4e3afcf6858977a8">distance_sq</a> (const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;<a class="el" href="structgbmath_1_1point.html">point</a>) const </td></tr>
<tr class="separator:a0acbb496da83beaf4e3afcf6858977a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada98e790dd68c989b03dbf9b4e5cabaf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#ada98e790dd68c989b03dbf9b4e5cabaf">normalize</a> ()</td></tr>
<tr class="separator:ada98e790dd68c989b03dbf9b4e5cabaf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2196d3b1e17dd649fad43705cfd20f4a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1vec2.html">vec2</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#a2196d3b1e17dd649fad43705cfd20f4a">normalized</a> () const </td></tr>
<tr class="memdesc:a2196d3b1e17dd649fad43705cfd20f4a"><td class="mdescLeft">&#160;</td><td class="mdescRight">return normalized  <a href="#a2196d3b1e17dd649fad43705cfd20f4a">More...</a><br/></td></tr>
<tr class="separator:a2196d3b1e17dd649fad43705cfd20f4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9f06c31143d61552717f11182ae4c0b"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#ab9f06c31143d61552717f11182ae4c0b">dot</a> (const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;v) const </td></tr>
<tr class="separator:ab9f06c31143d61552717f11182ae4c0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38cf5379c41fdfc25be2d26897b8b838"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#a38cf5379c41fdfc25be2d26897b8b838">ccw</a> (const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;v) const </td></tr>
<tr class="memdesc:a38cf5379c41fdfc25be2d26897b8b838"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the z-component by taking the cross product of two 2D vectors.  <a href="#a38cf5379c41fdfc25be2d26897b8b838">More...</a><br/></td></tr>
<tr class="separator:a38cf5379c41fdfc25be2d26897b8b838"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f838ea9b21e4588f6f866c3090f199e"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#a4f838ea9b21e4588f6f866c3090f199e">angle</a> (const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;a) const </td></tr>
<tr class="separator:a4f838ea9b21e4588f6f866c3090f199e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ba633e4c137b893213fbd4e89556491"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#a3ba633e4c137b893213fbd4e89556491">inverse</a> ()</td></tr>
<tr class="memdesc:a3ba633e4c137b893213fbd4e89556491"><td class="mdescLeft">&#160;</td><td class="mdescRight">invert signs  <a href="#a3ba633e4c137b893213fbd4e89556491">More...</a><br/></td></tr>
<tr class="separator:a3ba633e4c137b893213fbd4e89556491"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a12f1db566d1150a34a9bc43cbede4fde"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1vec2.html">vec2</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#a12f1db566d1150a34a9bc43cbede4fde">inverted</a> () const </td></tr>
<tr class="memdesc:a12f1db566d1150a34a9bc43cbede4fde"><td class="mdescLeft">&#160;</td><td class="mdescRight">return inverted  <a href="#a12f1db566d1150a34a9bc43cbede4fde">More...</a><br/></td></tr>
<tr class="separator:a12f1db566d1150a34a9bc43cbede4fde"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b32881abe8077cc1600943a460462bb"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#a4b32881abe8077cc1600943a460462bb">get_max_absolute</a> () const </td></tr>
<tr class="separator:a4b32881abe8077cc1600943a460462bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8fed862372bef4b18f810d3b778c2671"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1vec2.html">vec2</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#a8fed862372bef4b18f810d3b778c2671">lerp</a> (const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;v, const float k) const </td></tr>
<tr class="separator:a8fed862372bef4b18f810d3b778c2671"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:addd3d6a5d80c11fcf6183b656069420f"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#addd3d6a5d80c11fcf6183b656069420f">min_value</a> () const </td></tr>
<tr class="memdesc:addd3d6a5d80c11fcf6183b656069420f"><td class="mdescLeft">&#160;</td><td class="mdescRight">get minimal component  <a href="#addd3d6a5d80c11fcf6183b656069420f">More...</a><br/></td></tr>
<tr class="separator:addd3d6a5d80c11fcf6183b656069420f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4adbe6e6054a184b0f9ad9ebdc1bdb83"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#a4adbe6e6054a184b0f9ad9ebdc1bdb83">max_value</a> () const </td></tr>
<tr class="memdesc:a4adbe6e6054a184b0f9ad9ebdc1bdb83"><td class="mdescLeft">&#160;</td><td class="mdescRight">get meximum component  <a href="#a4adbe6e6054a184b0f9ad9ebdc1bdb83">More...</a><br/></td></tr>
<tr class="separator:a4adbe6e6054a184b0f9ad9ebdc1bdb83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73dbc9301aaf92586aeadc732375e3d0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#a73dbc9301aaf92586aeadc732375e3d0">minimize</a> (const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;v)</td></tr>
<tr class="memdesc:a73dbc9301aaf92586aeadc732375e3d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">return min vector  <a href="#a73dbc9301aaf92586aeadc732375e3d0">More...</a><br/></td></tr>
<tr class="separator:a73dbc9301aaf92586aeadc732375e3d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0c2299fa0a0757b0665524cec7c983c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#ac0c2299fa0a0757b0665524cec7c983c">maximize</a> (const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;v)</td></tr>
<tr class="memdesc:ac0c2299fa0a0757b0665524cec7c983c"><td class="mdescLeft">&#160;</td><td class="mdescRight">return max vector  <a href="#ac0c2299fa0a0757b0665524cec7c983c">More...</a><br/></td></tr>
<tr class="separator:ac0c2299fa0a0757b0665524cec7c983c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8141f049f3a8447d90f8369d21555bcb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1vec2.html">vec2</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#a8141f049f3a8447d90f8369d21555bcb">minimized</a> (const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;v) const </td></tr>
<tr class="memdesc:a8141f049f3a8447d90f8369d21555bcb"><td class="mdescLeft">&#160;</td><td class="mdescRight">return min vector between this and v  <a href="#a8141f049f3a8447d90f8369d21555bcb">More...</a><br/></td></tr>
<tr class="separator:a8141f049f3a8447d90f8369d21555bcb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b2867cf7516c0d37ccfd31bc69ebda8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1vec2.html">vec2</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#a3b2867cf7516c0d37ccfd31bc69ebda8">maximized</a> (const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;v) const </td></tr>
<tr class="memdesc:a3b2867cf7516c0d37ccfd31bc69ebda8"><td class="mdescLeft">&#160;</td><td class="mdescRight">return max vector between this and v  <a href="#a3b2867cf7516c0d37ccfd31bc69ebda8">More...</a><br/></td></tr>
<tr class="separator:a3b2867cf7516c0d37ccfd31bc69ebda8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac01fd1821c8936c2a3a6ceab0fb4d8b5"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#ac01fd1821c8936c2a3a6ceab0fb4d8b5">min_abs_value</a> () const </td></tr>
<tr class="memdesc:ac01fd1821c8936c2a3a6ceab0fb4d8b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">return min absolute  <a href="#ac01fd1821c8936c2a3a6ceab0fb4d8b5">More...</a><br/></td></tr>
<tr class="separator:ac01fd1821c8936c2a3a6ceab0fb4d8b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a419173ddc04f2ba6066c650f7cd26e2a"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#a419173ddc04f2ba6066c650f7cd26e2a">max_abs_value</a> () const </td></tr>
<tr class="memdesc:a419173ddc04f2ba6066c650f7cd26e2a"><td class="mdescLeft">&#160;</td><td class="mdescRight">return max absolute  <a href="#a419173ddc04f2ba6066c650f7cd26e2a">More...</a><br/></td></tr>
<tr class="separator:a419173ddc04f2ba6066c650f7cd26e2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c257b1adac5322cc9804acd0fa6216e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#a7c257b1adac5322cc9804acd0fa6216e">clump</a> (const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;vmin, const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;vmax)</td></tr>
<tr class="memdesc:a7c257b1adac5322cc9804acd0fa6216e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clipping values ​​within vmin and vmax.  <a href="#a7c257b1adac5322cc9804acd0fa6216e">More...</a><br/></td></tr>
<tr class="separator:a7c257b1adac5322cc9804acd0fa6216e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c1893eb3382ca876ca4f5692414e744"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1vec2.html">vec2</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#a4c1893eb3382ca876ca4f5692414e744">middle</a> (const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;<a class="el" href="structgbmath_1_1point.html">point</a>) const </td></tr>
<tr class="memdesc:a4c1893eb3382ca876ca4f5692414e744"><td class="mdescLeft">&#160;</td><td class="mdescRight">return middle point between this and point  <a href="#a4c1893eb3382ca876ca4f5692414e744">More...</a><br/></td></tr>
<tr class="separator:a4c1893eb3382ca876ca4f5692414e744"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33c2f0bd39ab9e3f5dab5672e1b211ba"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#a33c2f0bd39ab9e3f5dab5672e1b211ba">is_positive</a> () const </td></tr>
<tr class="memdesc:a33c2f0bd39ab9e3f5dab5672e1b211ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">return true if all components &gt; 0  <a href="#a33c2f0bd39ab9e3f5dab5672e1b211ba">More...</a><br/></td></tr>
<tr class="separator:a33c2f0bd39ab9e3f5dab5672e1b211ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a844a2e5747ad6586213f81760ca5f44c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#a844a2e5747ad6586213f81760ca5f44c">move</a> (const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;dir, float dist)</td></tr>
<tr class="separator:a844a2e5747ad6586213f81760ca5f44c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d549ae0a208ee2f402373bbf10fdac5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1vec2.html">vec2</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#a8d549ae0a208ee2f402373bbf10fdac5">moved</a> (const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;dir, float dist) const </td></tr>
<tr class="memdesc:a8d549ae0a208ee2f402373bbf10fdac5"><td class="mdescLeft">&#160;</td><td class="mdescRight">return moved point  <a href="#a8d549ae0a208ee2f402373bbf10fdac5">More...</a><br/></td></tr>
<tr class="separator:a8d549ae0a208ee2f402373bbf10fdac5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ef16b107a451521701541480a76394b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1vec2.html">vec2</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#a0ef16b107a451521701541480a76394b">direction_to</a> (const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;pnt) const </td></tr>
<tr class="separator:a0ef16b107a451521701541480a76394b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ce47332788bb7f770f454d3b89e06b9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#a6ce47332788bb7f770f454d3b89e06b9">operator std::string</a> () const </td></tr>
<tr class="separator:a6ce47332788bb7f770f454d3b89e06b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d03d812340a89f30a91bb1ee8d98b91"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#a1d03d812340a89f30a91bb1ee8d98b91">operator=</a> (const std::string &amp;str)  throw (std::invalid_argument)</td></tr>
<tr class="separator:a1d03d812340a89f30a91bb1ee8d98b91"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:af252690a54d56170cbed59cccd473c37"><td class="memItemLeft" >union {</td></tr>
<tr class="memitem:af048f65f9c2a4c935e4b6c70aa86a827"><td class="memItemLeft" >&#160;&#160;&#160;struct {</td></tr>
<tr class="memitem:a0daca6cae0c9e023446694c9c4fbd16f"><td class="memItemLeft" >&#160;&#160;&#160;&#160;&#160;&#160;float&#160;&#160;&#160;<a class="el" href="structgbmath_1_1vec2.html#a86ff75c64d87662abfee8c35c5a343d0">x</a></td></tr>
<tr class="separator:a0daca6cae0c9e023446694c9c4fbd16f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab631b8e295b0a6ff134d4d0030150fd3"><td class="memItemLeft" >&#160;&#160;&#160;&#160;&#160;&#160;float&#160;&#160;&#160;<a class="el" href="structgbmath_1_1vec2.html#a9212649e2705d2216739fc89763f00b6">y</a></td></tr>
<tr class="separator:ab631b8e295b0a6ff134d4d0030150fd3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af048f65f9c2a4c935e4b6c70aa86a827"><td class="memItemLeft" valign="top">&#160;&#160;&#160;}&#160;</td><td class="memItemRight" valign="bottom"></td></tr>
<tr class="separator:af048f65f9c2a4c935e4b6c70aa86a827"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a831a9aef366eee4413643421433caad8"><td class="memItemLeft" >&#160;&#160;&#160;float&#160;&#160;&#160;<a class="el" href="structgbmath_1_1vec2.html#ae052d4b6641bd022db5d99ec6a42505e">floats</a> [2]</td></tr>
<tr class="separator:a831a9aef366eee4413643421433caad8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af252690a54d56170cbed59cccd473c37"><td class="memItemLeft" valign="top">};&#160;</td><td class="memItemRight" valign="bottom"></td></tr>
<tr class="separator:af252690a54d56170cbed59cccd473c37"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a35eb7b34af6ddf31f04c7f97208fdcea"><td class="memItemLeft" align="right" valign="top">std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#a35eb7b34af6ddf31f04c7f97208fdcea">operator&lt;&lt;</a> (std::ostream &amp;stream, const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;v)</td></tr>
<tr class="separator:a35eb7b34af6ddf31f04c7f97208fdcea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f3536736d2c17cafc1e6d1794c1b255"><td class="memItemLeft" align="right" valign="top">std::istream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#a9f3536736d2c17cafc1e6d1794c1b255">operator&gt;&gt;</a> (std::istream &amp;stream, <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;v)</td></tr>
<tr class="separator:a9f3536736d2c17cafc1e6d1794c1b255"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:affa2a45954310009f0a1fd0d9f8f19e2"><td class="memItemLeft" align="right" valign="top">std::istringstream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html#affa2a45954310009f0a1fd0d9f8f19e2">operator&gt;&gt;</a> (std::istringstream &amp;ss, <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;v)</td></tr>
<tr class="separator:affa2a45954310009f0a1fd0d9f8f19e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>2d-base vector. Corrected by operators epislon </p>

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00022">22</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="adabd5470168992d77238a8ecb1d81951"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gbmath::vec2::vec2 </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00034">34</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="a8c6f58c11087712e1ba0f2e4fa4c926f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gbmath::vec2::vec2 </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td>
          <td class="paramname"><em>v</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00039">39</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae2abaf8805e510be8389b8803e575e25"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gbmath::vec2::vec2 </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> *&#160;</td>
          <td class="paramname"><em>v</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00040">40</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="addb0dc9dc9e0b1e45c025e53cbc3e8bc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gbmath::vec2::vec2 </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>_x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>_y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00041">41</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac29ddd0fd6ce042166bb581b974e1be3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gbmath::vec2::vec2 </td>
          <td>(</td>
          <td class="paramtype">const float *&#160;</td>
          <td class="paramname"><em>pfArray</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00042">42</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a4f838ea9b21e4588f6f866c3090f199e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::vec2::angle </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td>
          <td class="paramname"><em>a</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00209">209</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="a38cf5379c41fdfc25be2d26897b8b838"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::vec2::ccw </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td>
          <td class="paramname"><em>v</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the z-component by taking the cross product of two 2D vectors. </p>

<p>Definition at line <a class="el" href="vec2_8cpp_source.html#l00010">10</a> of file <a class="el" href="vec2_8cpp_source.html">vec2.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a7c257b1adac5322cc9804acd0fa6216e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1vec2.html">vec2</a>&amp; gbmath::vec2::clump </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td>
          <td class="paramname"><em>vmin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td>
          <td class="paramname"><em>vmax</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Clipping values ​​within vmin and vmax. </p>

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00310">310</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0ef16b107a451521701541480a76394b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1vec2.html">vec2</a> gbmath::vec2::direction_to </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td>
          <td class="paramname"><em>pnt</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00348">348</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab0f42556480a7a32389428b4076ea95f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::vec2::distance </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td>
          <td class="paramname"><em>point</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00169">169</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0acbb496da83beaf4e3afcf6858977a8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::vec2::distance_sq </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td>
          <td class="paramname"><em>point</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00174">174</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab9f06c31143d61552717f11182ae4c0b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::vec2::dot </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td>
          <td class="paramname"><em>v</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00199">199</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="a1e1b47be8f61375d104ba44c32947674"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool gbmath::vec2::empty </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00155">155</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="a4b32881abe8077cc1600943a460462bb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::vec2::get_max_absolute </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00230">230</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="a3ba633e4c137b893213fbd4e89556491"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1vec2.html">vec2</a>&amp; gbmath::vec2::inverse </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>invert signs </p>

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00216">216</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="a12f1db566d1150a34a9bc43cbede4fde"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1vec2.html">vec2</a> gbmath::vec2::inverted </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>return inverted </p>

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00224">224</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="a33c2f0bd39ab9e3f5dab5672e1b211ba"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool gbmath::vec2::is_positive </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>return true if all components &gt; 0 </p>

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00329">329</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="a4bcac67c752d2d4195bbd6cc7d7e7dcb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool gbmath::vec2::is_zero </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>epsilon</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00160">160</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="ad10ab8c50698625b709e3ff00bf4d6c2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::vec2::length </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00166">166</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="a11a037524ff89246286cb11e3b19cc9a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::vec2::length_sq </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00167">167</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="a8fed862372bef4b18f810d3b778c2671"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1vec2.html">vec2</a> gbmath::vec2::lerp </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td>
          <td class="paramname"><em>v</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const float&#160;</td>
          <td class="paramname"><em>k</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00238">238</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="a419173ddc04f2ba6066c650f7cd26e2a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::vec2::max_abs_value </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>return max absolute </p>

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00300">300</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="a4adbe6e6054a184b0f9ad9ebdc1bdb83"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::vec2::max_value </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>get meximum component </p>

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00254">254</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac0c2299fa0a0757b0665524cec7c983c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1vec2.html">vec2</a>&amp; gbmath::vec2::maximize </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td>
          <td class="paramname"><em>v</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>return max vector </p>

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00265">265</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="a3b2867cf7516c0d37ccfd31bc69ebda8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1vec2.html">vec2</a> gbmath::vec2::maximized </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td>
          <td class="paramname"><em>v</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>return max vector between this and v </p>

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00281">281</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="a4c1893eb3382ca876ca4f5692414e744"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1vec2.html">vec2</a> gbmath::vec2::middle </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td>
          <td class="paramname"><em>point</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>return middle point between this and point </p>

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00319">319</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac01fd1821c8936c2a3a6ceab0fb4d8b5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::vec2::min_abs_value </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>return min absolute </p>

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00290">290</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="addd3d6a5d80c11fcf6183b656069420f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::vec2::min_value </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>get minimal component </p>

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00248">248</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="a73dbc9301aaf92586aeadc732375e3d0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1vec2.html">vec2</a>&amp; gbmath::vec2::minimize </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td>
          <td class="paramname"><em>v</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>return min vector </p>

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00257">257</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="a8141f049f3a8447d90f8369d21555bcb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1vec2.html">vec2</a> gbmath::vec2::minimized </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td>
          <td class="paramname"><em>v</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>return min vector between this and v </p>

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00273">273</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="a844a2e5747ad6586213f81760ca5f44c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1vec2.html">vec2</a>&amp; gbmath::vec2::move </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td>
          <td class="paramname"><em>dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>dist</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00334">334</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="a8d549ae0a208ee2f402373bbf10fdac5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1vec2.html">vec2</a> gbmath::vec2::moved </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td>
          <td class="paramname"><em>dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>dist</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>return moved point </p>

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00341">341</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="ada98e790dd68c989b03dbf9b4e5cabaf"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1vec2.html">vec2</a>&amp; gbmath::vec2::normalize </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00180">180</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="a2196d3b1e17dd649fad43705cfd20f4a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1vec2.html">vec2</a> gbmath::vec2::normalized </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>return normalized </p>

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00192">192</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="a20a975f47e245edc54784e9f7b080be1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gbmath::vec2::operator const float * </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00094">94</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="a1d0aeb42c807a4da8a2b50b010a06cd6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gbmath::vec2::operator float * </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00095">95</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="a6ce47332788bb7f770f454d3b89e06b9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gbmath::vec2::operator std::string </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00359">359</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="a58b6069a98fa83c965721cb7a9d0f5dd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool gbmath::vec2::operator!= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td>
          <td class="paramname"><em>v</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00067">67</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="a709483b8ae4c66df60ed3b485b3c6667"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1vec2.html">vec2</a> gbmath::vec2::operator* </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>f</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00081">81</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="a630356805b8d3b66e77db67efa1df8ca"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1vec2.html">vec2</a>&amp; gbmath::vec2::operator*= </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>f</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00086">86</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="a557a61bd3661c74e4ef71cc451140c59"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1vec2.html">vec2</a>&amp; gbmath::vec2::operator*= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td>
          <td class="paramname"><em>v</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00087">87</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="acfaf6cf7a1f59a14514c61cab5fafee2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1vec2.html">vec2</a> gbmath::vec2::operator+ </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00072">72</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="a340bf522c80aa82e3c64b2e3ae218477"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1vec2.html">vec2</a> gbmath::vec2::operator+ </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td>
          <td class="paramname"><em>v</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00075">75</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="a91dc952e918c5cbc7d2d59078add36e6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1vec2.html">vec2</a> gbmath::vec2::operator+ </td>
          <td>(</td>
          <td class="paramtype">const float&#160;</td>
          <td class="paramname"><em>v</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00078">78</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="a51f5e22a580310bd699d8d955c40973f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1vec2.html">vec2</a>&amp; gbmath::vec2::operator+= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td>
          <td class="paramname"><em>v</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00084">84</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7185e3b82be49090b3e96a71e19eeea1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1vec2.html">vec2</a> gbmath::vec2::operator- </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00073">73</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="a40ef679d9345eca4befadd359df17a20"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1vec2.html">vec2</a> gbmath::vec2::operator- </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td>
          <td class="paramname"><em>v</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00076">76</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="a8cedf5cce69b94a455d0244da7f9af3b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1vec2.html">vec2</a> gbmath::vec2::operator- </td>
          <td>(</td>
          <td class="paramtype">const float&#160;</td>
          <td class="paramname"><em>v</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00079">79</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae58ef74f304638175fd5c2d29980a9f3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1vec2.html">vec2</a>&amp; gbmath::vec2::operator-= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td>
          <td class="paramname"><em>v</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00085">85</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="aeca1f43dc5f2d45c1c655698cae54c68"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1vec2.html">vec2</a> gbmath::vec2::operator/ </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>f</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00082">82</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="a573c17c28c4b384ca34c0a0383558a97"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1vec2.html">vec2</a>&amp; gbmath::vec2::operator/= </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>f</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00089">89</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="a33ae524aaf4b392c37a3943bbb45446f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1vec2.html">vec2</a>&amp; gbmath::vec2::operator/= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td>
          <td class="paramname"><em>v</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00090">90</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac96c57d47781f11164e7bdeb64d64b52"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::vec2::operator= </td>
          <td>(</td>
          <td class="paramtype">const float *&#160;</td>
          <td class="paramname"><em>pf</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00056">56</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="a1d03d812340a89f30a91bb1ee8d98b91"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::vec2::operator= </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>str</em>)</td><td></td>
          <td></td>
        </tr>
        <tr>
          <td align="right">throw </td><td>(</td><td colspan="2">std::invalid_argument</td>
        </tr>
        <tr>
          <td align="right"></td><td>)</td><td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00366">366</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="ad2389cf23b12dac04afd2438756dbb6a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool gbmath::vec2::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td>
          <td class="paramname"><em>v</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00062">62</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7d64d8c55a269aa0310a6e23bdfa069e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::vec2::operator[] </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>index</em>)</td><td></td>
          <td> const</td>
        </tr>
        <tr>
          <td align="right">throw </td><td>(</td><td colspan="2">std::out_of_range</td>
        </tr>
        <tr>
          <td align="right"></td><td>)</td><td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00099">99</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae51af699a241061040d69aeab382d0f8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float&amp; gbmath::vec2::operator[] </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>index</em>)</td><td></td>
          <td></td>
        </tr>
        <tr>
          <td align="right">throw </td><td>(</td><td colspan="2">std::out_of_range</td>
        </tr>
        <tr>
          <td align="right"></td><td>)</td><td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00106">106</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="a9ba4ac2afd0f478dc38014a01fdbe12f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1vec2.html">vec2</a>&amp; gbmath::vec2::set </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>_x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>_y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00157">157</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="a2eed490b17e95295f031b5fe47e30686"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1vec2.html">vec2</a>&amp; gbmath::vec2::set_all </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>val</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00158">158</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="af2f52a54c06868db0522b03930500ca7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::vec2::setzero </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00154">154</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a class="anchor" id="a35eb7b34af6ddf31f04c7f97208fdcea"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::ostream&amp; operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&#160;</td>
          <td class="paramname"><em>stream</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td>
          <td class="paramname"><em>v</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00353">353</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="a9f3536736d2c17cafc1e6d1794c1b255"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::istream&amp; operator&gt;&gt; </td>
          <td>(</td>
          <td class="paramtype">std::istream &amp;&#160;</td>
          <td class="paramname"><em>stream</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td>
          <td class="paramname"><em>v</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00375">375</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="affa2a45954310009f0a1fd0d9f8f19e2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::istringstream&amp; operator&gt;&gt; </td>
          <td>(</td>
          <td class="paramtype">std::istringstream &amp;&#160;</td>
          <td class="paramname"><em>ss</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structgbmath_1_1vec2.html">vec2</a> &amp;&#160;</td>
          <td class="paramname"><em>v</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00383">383</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="af252690a54d56170cbed59cccd473c37"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">union { ... } </td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ae052d4b6641bd022db5d99ec6a42505e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::vec2::floats[2]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00031">31</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="a86ff75c64d87662abfee8c35c5a343d0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::vec2::x</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00028">28</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<a class="anchor" id="a9212649e2705d2216739fc89763f00b6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::vec2::y</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vec2_8h_source.html#l00028">28</a> of file <a class="el" href="vec2_8h_source.html">vec2.h</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following files:<ul>
<li><a class="el" href="vec2_8h_source.html">vec2.h</a></li>
<li><a class="el" href="vec2_8cpp_source.html">vec2.cpp</a></li>
</ul>
</div><!-- contents -->
<hr class="footer"/>
<!--address class="footer"-->
<!--small-->
<br>
&nbsp;&nbsp;&nbsp;<b>Project page:</b> &nbsp;<a target="_blank" href="https://code.google.com/p/gbmath/">https://code.google.com/p/gbmath/</a>&nbsp;&nbsp;<br>
&nbsp;&nbsp;&nbsp;<b>Doc page:</b> &nbsp;<a target="_blank" href="http://www.it.ks777.ru/docs">http://www.it.ks777.ru/docs</a>&nbsp;&nbsp;<br>
<br>
Generated on Sat Jul 27 2013 08:09:04 for gbmath by &#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.4
